package com.example.demo.domain;

/**
 * 对应category表
 *
 */
public class Category {
	/** 类别ID **/
	private Short cgid;
	/** 类别名称 **/
	private String cgname;

	public Short getCgid() {
		return cgid;
	}

	@Override
	public String toString() {
		return "Category [cgid=" + cgid + ", cgname=" + cgname + "]";
	}

	public void setCgid(Short cgid) {
		this.cgid = cgid;
	}

	public String getCgname() {
		return cgname;
	}

	public void setCgname(String cgname) {
		this.cgname = cgname;
	}
}
